package common;

public class ArrayUtil {

    public static void doubleDimensionalArrayPrint(Object[][] temp){
        for (int i = 0; i < temp.length; i++) {
            for (int j = 0; j < temp[0].length; j++) {
                System.out.print(temp[i][j]+"  ");
            }
            System.out.println();
        }
    }
    public static void doubleDimensionalArrayPrint(int[][] temp){
        for (int i = 0; i < temp.length; i++) {
            for (int j = 0; j < temp[0].length; j++) {
                System.out.print(temp[i][j]+"  ");
            }
            System.out.println();
        }
    }

}
